KIU has a tiny "embedded" webserver that allows you to remotely
manage your Mac.
You can enable this webserver in the preferences dialog. You will be asked
to enter a password, if you had not done so already. You can also
choose the port number on which the webserver runs (>1023). This
way you can prevent any conflict with a real webserver or other network
software.
If you use the MacOS X personal
firewall, you need to add a port corresponding to the portnumber you
chose above, like this:
To remotely manage your Mac: from any computer, point a browser to your Mac using the portnumber you chose.
e.g.:
(If you don't know the URL for your Mac, consult the KIU FAQ )
You must enter a username (always "kiu") and the password you chose.
You can now perform several tasks using the webinterface. Notice that this webinterface deliberately doesn't use fancy graphics, to ensure speedy access even over slow connections.
Get some statistics such as the remote system's uptime, free
harddisk space, and the system load.
Clean Restart/shutdown: | Forced Restart/shutdown: |
First all applications are terminated, then the computer is restarted/shut down. Unfortunately, if an application puts up a dialog when asked to quit, it can block this process indefinitely. | First an attempt is made to terminate all applications in a normal way. After a given time period KIU will Force Quit any applications that are still running, allowing this process to proceed. You should set this time period high enough to give all applications ample time to quit (recommended:180-300 seconds) |
Advantages: this is a safe way to restart/shut down without any data loss | Advantages: always works, even if some application doesn't quit. This ensures your Mac always restarts and becomes available again. If availability of your server is very important, select this method. |
Disadvantages: this process may get blocked, probably leaving your server in an undesirable state. | Disadvantages: some unsaved data may be lost from applications that are Forced Quit. |
This will try to quit all open applications except for KIU,
the finder and the Logonwindow.
This will force quit the Classic environment and any Classic
Applications that may be running.
A process is another word for a program running on your Mac.
You can
Notes:
You can remotely launch applications, open documents or run
an AppleScript. To make an application/document/script available for
remote launch, you must first make an alias to it and copy it to the "KIU
Weblaunch Items" folder in the preferences folder (use the Open Itemfolders
menu to locate this folder). Then choose File->Rescan Itemfolders
(or use the Rescan Itemfolders weblink) to make the aliases show up. Applescripts
must be saved as "application", option "never show startup screen".
The possibility to remotely run an Applescript allows you to perform any remote management task that you can write an Applescript for.
Note: it's only possible to launch true MacOS applications this
way, you can't launch Unix processes or scripts.
You can remotely view logfiles generated by KIU or any other
application. To make a logfile available for remote viewing, you must
first make an alias to the logfile and copy it to the "KIU WebLog Items"
folder in the preferences folder (use the Open Itemfolders menu
to locate this folder). Then choose File->Rescan Itemfolders
(or use the Rescan Itemfolders weblink) to make the aliases show up.
The file must be a plain textfile (i.e. type 'TEXT'). Binary logfiles will not show up in the "View Logfiles" menu. It's possible that Unix-type logfiles don't show up either. In that case, simply rename the alias to make it end in ".log" to make it appear in the menu.
You can choose which portion of the logfile should be shown (last
4KB-256KB). Choose small portions if your network connection is very
slow.